<div class="el-dialog">
    <header class="el-dialog__header">
        <span  class="el-dialog__title">群发消息</span>
        <button  data-bs-dismiss="modal" aria-label="Close" class="el-dialog__headerbtn" type="button">
            <i class="el-icon el-dialog__close">
                <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                    <path fill="currentColor" d="M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"></path>
                </svg>
            </i>
        </button>
    </header>
    <!--顶部-->
     <form method="post" onsubmit="return post_add(this,'{:url('add')}')">
    <div class="el-dialog__body">
        <!--内容-->
       <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">会员组</label>
            <div class="col-sm-10">
              <select class="form-select" name="groupid" aria-label="请选择会员组">
                    {volist name='list' id='vo'}
                    <option  value="{$vo.groupid}">{$vo.name}</option>
                    {/volist}
                </select>
            </div>
          </div>   
          
         
         <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">内容</label>
            <div class="col-sm-10">
              <textarea type="text" name="content" class="form-control" placeholder="请输入内容"></textarea>
            </div>
          </div> 

          <input type="hidden" name="__token__" value="{:token()}" />
         <!--内容-->
    </div>
    <!--底部-->
    <footer class="el-dialog__footer">
        <span class="dialog-footer">
            <button  type="button" class="el-button el-button--danger" data-bs-dismiss="modal" aria-label="Close">
                <span class="">取消</span></button>
            <button class="el-button el-button--primary" aria-disabled="false" type="submit">
                <span class="">确认</span></button>
        </span>
    </footer>
    </form>
</div>